package com.neusoft.yuejian_01.service;

import com.neusoft.yuejian_01.javabean.ProfessorBean;
import com.neusoft.yuejian_01.javabean.ProfessorCourseBean;

import java.util.List;

import retrofit2.Call
;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/9/30.
 */

public interface ProfessorService {
    // http://10.0.2.2/neu14_yuejian/API/Professor/getProfessorlist
    @GET("Professor/getProfessorlist")
    Call<List<ProfessorBean>> getProfessorlist();
    //http://localhost/neu14_yuejian/API/Professor/getPmdetail/pm_id/1
    @GET("Professor/getPmdetail")
    Call<ProfessorBean> getPmdetail(@Query("pm_id") String pm_id);
    // http://localhost/neu14_yuejian/API/ProfessorCourse/getPclist/pm_id/8
    @GET("ProfessorCourse/getPclist")
    Call<List<ProfessorCourseBean>> getPclist(@Query("pm_id") String pm_id);
}
